package nl.hu.modellingengine.client;

import com.google.gwt.event.shared.EventBus;
import com.google.gwt.event.shared.SimpleEventBus;
import com.google.gwt.place.shared.PlaceController;

public class ClientFactoryWebImpl implements ClientFactory {
	
	private final EventBus eventbus = new SimpleEventBus();
	private final PlaceController placeController = new PlaceController(eventbus);
	
	@Override
	public EventBus getEventBus() {
		return eventbus;
	}

	@Override
	public PlaceController getPlaceController() {
		return placeController;
	}
}
